'use strict'

const Sequelize = require('sequelize');
const sequelize = require('../db');

const User = sequelize.define('job', {
    //职业名：Positions
    //公司名：CompanyName
    //工作地点：workingPlace
    //工资:pay
    //发布时间：ReleaseTime
    Positions: {
        type: Sequelize.STRING(800),
        allowNull: false
    },
    CompanyName: {
        type: Sequelize.STRING
    },
    workingPlace: {
        type: Sequelize.STRING
    },
    pay: {
        type: Sequelize.STRING
    },
    ReleaselizeTime: {
        type: Sequelize.STRING
    }
}, {

})

module.exports = User;